package com.kingtao.message;

import com.kingtao.service.Impl.NodeGroupServiceImpl;
import lombok.Data;

@Data
public class GroupServiceRequest extends Message {
    private int id;
    private String string;
    private NodeGroupServiceImpl groupService;

    public GroupServiceRequest(int id, NodeGroupServiceImpl groupService) {
        this.id = id;
        this.groupService = groupService;
    }

    public GroupServiceRequest(int id, String string) {
        this.id = id;
        this.string = string;
    }

    @Override
    public int getMessageType() {
        return 20;
    }
}
